package edu.zju.gis.dldsj.entity;

/**
 * @author yanlong_lee@qq.com
 * @version 1.0 2018/11/06
 */
public enum DagTaskState {
    SUCCESS("success"),
    RUNNING("running"),
    FAILED("failed"),
    UPSTREAM_FAILED("upstream_failed"),
    UP_FOR_RETRY("up_for_retry"),
    QUEUED("queued");

    private String state;

    DagTaskState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
